home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_26200.txt < prev    next >
Text File  |  1990-10-02  |  7KB  |  310 lines

  1. -- card: 26200 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 14772
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global chase
  9.   send cardOpened to background
  10.   if chase<>0 then hortaChase
  11. end openCard
  12.  
  13. on move
  14.   global direction,pillarEat,trollDead,blastDam,holeDam
  15.   global chase,blasting,causeOfDeath
  16.   if chase<>0 then
  17.     if direction<>"up" and direction<>"east" then
  18.       put "horta4" into causeOfDeath
  19.       visual wipe up slowly to gray
  20.       go to card id 3409
  21.       exit move
  22.     end if
  23.   end if
  24.   if direction = "north" then
  25.     go to card id 29230
  26.     exit move
  27.   end if
  28.   if direction = "south" or direction = "rear" then
  29.     go to card id 3186
  30.     exit move
  31.   end if
  32.   if direction = "east" then
  33.     go card id 27851
  34.     exit move
  35.   end if
  36.   if direction = "up" then
  37.     go card id 27851
  38.     exit move
  39.   end if
  40.   if direction = "west" then
  41.     go to card id 30913
  42.     exit move
  43.   end if
  44.   pass move
  45. end move
  46.  
  47.  
  48. on closeCard
  49.   set the cursor to 4
  50.   put "" into field 3
  51.   show card button hortaCover
  52. end closeCard
  53.  
  54. on take
  55.   global object,carried
  56.   -- remember to update carried if you do not pass take
  57.   pass take
  58. end take
  59.  
  60. on drop
  61.   global object,dropRoom,carried
  62.   -- remember to update carried if you do not pass drop
  63.   pass drop
  64. end drop
  65.  
  66. on use
  67.   global object,carried
  68.   -- update carried if use results in loss of object
  69.   pass use
  70. end use
  71.  
  72. on hortaChase
  73.   hide card button hortaCover
  74.   put "An angry Horta is hot on your heels!  Don't stop!" into field 3
  75. end hortaChase
  76.  
  77.  
  78.  
  79.  
  80. -- part 16 (button)
  81. -- low flags: 80
  82. -- high flags: 2000
  83. -- rect: left=159 top=228 right=264 bottom=193
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 9301 / 9301
  86. -- text alignment: 1
  87. -- font id: 0
  88. -- text size: 12
  89. -- style flags: 0
  90. -- line height: 16
  91. -- part name: knife
  92. ----- HyperTalk script -----
  93. on mouseUp
  94.   global takeFlag,examFlag,object,cardID
  95.   put the name of the target into object
  96.   if takeFlag = true
  97.   then send take to card id cardID
  98. else put "a knife" into field 3
  99. put false into examFlag
  100. end mouseUp
  101.  
  102.  
  103.  
  104. -- part 17 (button)
  105. -- low flags: 80
  106. -- high flags: 2000
  107. -- rect: left=89 top=195 right=231 bottom=123
  108. -- title width / last selected line: 0
  109. -- icon id / first selected line: 1015 / 1015
  110. -- text alignment: 1
  111. -- font id: 0
  112. -- text size: 12
  113. -- style flags: 0
  114. -- line height: 16
  115. -- part name: nodule
  116. ----- HyperTalk script -----
  117. on mouseUp
  118.   global takeFlag,examFlag,object,cardID
  119.   put the name of the target into object
  120.   if takeFlag = true
  121.   then send take to card id cardID
  122. else put "a silicon sphere" into field 3
  123. put false into examFlag
  124. end mouseUp
  125.  
  126.  
  127.  
  128. -- part 18 (button)
  129. -- low flags: 80
  130. -- high flags: 2000
  131. -- rect: left=97 top=141 right=177 bottom=131
  132. -- title width / last selected line: 0
  133. -- icon id / first selected line: 14953 / 14953
  134. -- text alignment: 1
  135. -- font id: 0
  136. -- text size: 12
  137. -- style flags: 0
  138. -- line height: 16
  139. -- part name: ladder
  140. ----- HyperTalk script -----
  141. on mouseUp
  142.   global takeFlag,examFlag,object,cardID
  143.   put the name of the target into object
  144.   if takeFlag = true
  145.   then send take to card id cardID
  146. else put "a rope ladder" into field 3
  147. put false into examFlag
  148. end mouseUp
  149.  
  150.  
  151.  
  152. -- part 19 (button)
  153. -- low flags: 80
  154. -- high flags: 2000
  155. -- rect: left=167 top=125 right=161 bottom=201
  156. -- title width / last selected line: 0
  157. -- icon id / first selected line: 1019 / 1019
  158. -- text alignment: 1
  159. -- font id: 0
  160. -- text size: 12
  161. -- style flags: 0
  162. -- line height: 16
  163. -- part name: bomb
  164. ----- HyperTalk script -----
  165. on mouseUp
  166.   global takeFlag,examFlag,object,cardID
  167.   put the name of the target into object
  168.   if takeFlag = true
  169.   then send take to card id cardID
  170. else put "a time bomb" into field 3
  171. put false into examFlag
  172. end mouseUp
  173.  
  174.  
  175.  
  176. -- part 20 (button)
  177. -- low flags: 80
  178. -- high flags: 2000
  179. -- rect: left=63 top=141 right=177 bottom=97
  180. -- title width / last selected line: 0
  181. -- icon id / first selected line: 24317 / 24317
  182. -- text alignment: 1
  183. -- font id: 0
  184. -- text size: 12
  185. -- style flags: 0
  186. -- line height: 16
  187. -- part name: key
  188. ----- HyperTalk script -----
  189. on mouseUp
  190.   global takeFlag,examFlag,object,cardID
  191.   put the name of the target into object
  192.   if takeFlag = true
  193.   then send take to card id cardID
  194. else put "a key" into field 3
  195. put false into examFlag
  196. end mouseUp
  197.  
  198.  
  199.  
  200. -- part 23 (button)
  201. -- low flags: 00
  202. -- high flags: 0000
  203. -- rect: left=206 top=56 right=204 bottom=254
  204. -- title width / last selected line: 0
  205. -- icon id / first selected line: 0 / 0
  206. -- text alignment: 1
  207. -- font id: 0
  208. -- text size: 12
  209. -- style flags: 0
  210. -- line height: 16
  211. -- part name: 
  212. ----- HyperTalk script -----
  213. on mouseUp
  214.   global examFlag,direction,cardID,takeFlag
  215.   if examFlag then
  216.     put "a fantastic crystal dam, easily climable." into field 3
  217.     put false into examFlag
  218.   else
  219.     if takeFlag then
  220.       beep
  221.       put "Take the dam?  You and who else's army?" into field 3
  222.       put false into takeFlag
  223.     else
  224.       put "up" into direction
  225.       send move to card id cardID
  226.     end if
  227.   end if
  228. end mouseUp
  229.  
  230.  
  231.  
  232. -- part 33 (button)
  233. -- low flags: 00
  234. -- high flags: 0000
  235. -- rect: left=101 top=45 right=93 bottom=141
  236. -- title width / last selected line: 0
  237. -- icon id / first selected line: 0 / 0
  238. -- text alignment: 1
  239. -- font id: 0
  240. -- text size: 12
  241. -- style flags: 0
  242. -- line height: 16
  243. -- part name: 
  244. ----- HyperTalk script -----
  245. on mouseUp
  246.   global examFlag,direction,cardID
  247.   if examFlag then
  248.     put "a tunnel leading north" into field 3
  249.     put false into examFlag
  250.   else
  251.     put "north" into direction
  252.     send move to card id cardID
  253.   end if
  254. end mouseUp
  255.  
  256.  
  257.  
  258. -- part 34 (button)
  259. -- low flags: 00
  260. -- high flags: 0000
  261. -- rect: left=3 top=66 right=150 bottom=34
  262. -- title width / last selected line: 0
  263. -- icon id / first selected line: 0 / 0
  264. -- text alignment: 1
  265. -- font id: 0
  266. -- text size: 12
  267. -- style flags: 0
  268. -- line height: 16
  269. -- part name: 
  270. ----- HyperTalk script -----
  271. on mouseUp
  272.   global examFlag,direction,cardID
  273.   if examFlag then
  274.     put "a doorway leading west." into field 3
  275.     put false into examFlag
  276.   else
  277.     put "west" into direction
  278.     send move to card id cardID
  279.   end if
  280. end mouseUp
  281.  
  282.  
  283.  
  284. -- part 43 (button)
  285. -- low flags: 00
  286. -- high flags: 0001
  287. -- rect: left=98 top=235 right=261 bottom=143
  288. -- title width / last selected line: 0
  289. -- icon id / first selected line: 0 / 0
  290. -- text alignment: 1
  291. -- font id: 0
  292. -- text size: 12
  293. -- style flags: 0
  294. -- line height: 16
  295. -- part name: hortaCover
  296.  
  297.  
  298. -- part contents for background part 25
  299. ----- text -----
  300. Dam Room
  301. (looking north)
  302.  
  303. -- part contents for background part 24
  304. ----- text -----
  305. You are in the dam room.  There are exits to the north, south, and west.  The east wall is dominated by a huge crystal dam, about 10 feet high.  The surface of the dam has many crystalline projections which would make excellent handholds for easy climbing.  An eerie light is shimmering through the dam.
  306.  
  307.  
  308. -- part contents for background part 36
  309. ----- text -----
  310. 0